package net.togogo.service;

import net.togogo.bean.User;

import java.util.List;

public interface UserService {

    //insert
    void insert (User user);

    //login
    User login(User user);

    //userlist
    List<User> list();

    //selectById
    User selectOneById(Integer id);
}
